<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        var layoutWidth = window.innerWidth;
        var devWidth = window.screen.width
        var dpr = window.devicePixelRatio;
        console.log(devWidth)
        console.log(layoutWidth)
        console.log(dpr);
    </script>
</body>
</html>